import request from '@/utils/request2'

export function register(data) {
  return request({
    url: '/register',
    headers: {
      isToken: false
    },
    method: 'post',
    data: data
  })
}

export function obtainiframeUrl(val) {
  return request({
    url: `${val}`,
    method: 'get'
  })
}